Setup the Site.com in your Salesforce Org
โStep 1: Create Site.com
Got to the Setup, then Quick find box and Search for sites, then create New
- Site Label: any label
- Default Web Address: enter after the slash WA โ /WA
- Select the Active checkbox
- Active Site Home Page: Select any one
- Click Save
https:/[Your Domain].my.salesforce-sites.com/wa/[anything]
We need this part only:
https:/[Your Domain].my.salesforce-sites.com/wa/
Step 2: Setup the Public Access setting
Go to the created site.com
- then public access setting
- Then Apex Class Access
- Click Edit
- From Avaliable Apex classes choose WA_SF.WA_webhook
- Add it to the Enabled Apex Classes
- Click Save